home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Ham⁄GPS / SoftKiss.src.1.8 Folder / SoftKiss.src.1.8 / core / sfk_core_some_macs.h < prev    next >
Text File  |  1992-04-18  |  1KB  |  61 lines

  1. /*
  2.  * interface to features present on some macs and not others
  3.  */
  4.  
  5. /*
  6.  * tell if the power manager is implemented on this machine
  7.  */
  8. int serial_power_implemented(void);
  9.  
  10. /*
  11.  * tell if the sleep/speed manager is implemented on this machine
  12.  */
  13. int sleep_state_implemented(void);
  14.  
  15. /*
  16.  * tell if the virtual memory manager is implemented on this machine
  17.  */
  18. int is_vm_manager_present(void);
  19.  
  20. /*
  21.  * tell if the code/data cache  manager is implemented on this machine
  22.  */
  23. int is_cache_manager_present(void);
  24.  
  25. /*
  26.  * some macs have a data and code cache that needs to be flushed
  27.  * after patching code
  28.  */
  29. void sfk_some_flush(void);
  30.  
  31. /*
  32.  * Lock something in memory if virtual memory is running
  33.  * return TRUE iff it was locked
  34.  */
  35. int sfk_lock_if_vm_implimented(void *something_to_lock,long size);
  36.  
  37. /*
  38.  * unlocked the passed block to make it swapable
  39.  */
  40. void sfk_unlock_if_vm_implimented(void *something_to_unlock,long size);
  41.  
  42. /*
  43.  * power up scc and select internal or external modem
  44.  */
  45. void power_up_port(int pnum,int ignore_modem);
  46.  
  47. /*
  48.  * power down scc and modem
  49.  */
  50. void power_down_port(int pnum);
  51.  
  52. /*
  53.  * is the scc hardware available
  54.  */
  55. int have_scc(void);
  56.  
  57. /*
  58.  * return the time manager version
  59.  */
  60. int time_manager_version(void);
  61.